{% if user %}
	Welcome {{user.nickname}} go to your <a href='/home/dashboard/'>Dashboard</a> or <a href='{{ l_url }}'>Logout</a><br />
{% else %}
	Please <a href='{{ l_url }}'>login</a> or sign in <br />
{% endif %}
<br />


{% if recent_pub %}
	Recent Publications:<br />
	{% for pub in recent_pub %}
		<a href='/content/view/{{ pub.get_absolute_url }}/'>{{ pub.title }}</a> 
			{% if pub.author == user %} 
			<a href='/content/edit/{{pub.get_absolute_url}}/'>Edit</a><br /> 
			{% endif %}
			
	{% endfor %}
	<a href='/content/browse/publication/1/'>Browse more</a>
	<br />
	<br />
{% endif %}

{% if recent_art %}
	Recent Articles:<br />
	{% for art in recent_art %}
		<a href='/content/view/{{ art.get_absolute_url }}/'>{{ art.title }}</a>
                {% if art.author == user %} 
	                <a href='/content/edit/{{art.get_absolute_url}}/'>Edit</a><br />
                {% endif %}

	{% endfor %}
	<a href='/content/browse/article/1/'>Browse more</a>
{% endif %}
